package com.pz.gulimall.member.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class MemberFocusSearchReqVo {
    @NotNull(message = "userId不能为空")
    private Long userId;

    /**
     *  my-focus: 搜索我的关注用户列表
     *  add-focus: 搜索想要添加的用户列表
     */
    @NotEmpty(message = "搜索类型不能为空")
    private String type;
    private String key;
}
